package com.njtoyo.taxi.admin.config.mongo;

import org.springframework.context.annotation.Configuration;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

/**
 * @author Dell
 * @date 2021-05-28 22:33
 */
@Configuration
@EnableMongoRepositories(basePackages = "com.njtoyo.taxi.admin.mongo.repository.secondary",mongoTemplateRef = SecondaryMongoConfig.MONGO_TEMPLATE)
public class SecondaryMongoConfig {

    public static final String MONGO_TEMPLATE = "secondaryMongoTemplate";

}
